package com.demo.salary.payrollimplementation;

import com.demo.salary.PayCheck;
import com.demo.salary.payrolldomain.PayMethod;

public class DirectMethod implements PayMethod {
    String bank;
    String account;

    public DirectMethod(String bank, String account) {
        this.bank = bank;
        this.account = account;
    }

    public String getBank() {
        return bank;
    }

    public String getAccount() {
        return account;
    }

    @Override
    public void pay(PayCheck pc) {

    }
}
